<?php
/**
 * Created by JetBrains PhpStorm.
 * User: User
 * Date: 7/23/13
 * Time: 2:50 PM
 * To change this template use File | Settings | File Templates.
 */
class Support_file extends CI_Model {
  public function __construct(){
    $this->load->database();
  }
public function setSupport($data){
    $setOk = $this->db->insert('tbl_support', $data);
    //return $setOk;

  }
public function support_file_type(){
    $data = $this->db->get('tbl_support');
    return $data->result();
  }
public function deleteSupport($data){
    $this->db->delete('tbl_support', $data);
  }
}
?>
